package com.echoplots.shardingjdbc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.echoplots.shardingjdbc.dao.ConfigMapper;
import com.echoplots.shardingjdbc.pojo.Config;
import com.echoplots.shardingjdbc.service.ConfigService;

@Service
public class ConfigServiceImpl implements ConfigService {

    @Resource
    private ConfigMapper configMapper;


    @Override
    public Config selectByPrimaryKey(Long id) {
        return configMapper.selectByPrimaryKey(id);
    }
}
